package zuoye4;

public class Random {
    public static void main(String[] args) {
        System.out.println("双色球预测号：");
        int[] arr=new int[6];
        for (int i = 0; i < 6; i++) {
            int x=(int)(Math.random()*33+1);
            boolean flag=false;
            for (int j = 0; j < 6; j++)
                if (x == arr[j]) {
                    flag = true;
                    break;
                }
            System.out.print(x+" ");
        }
        int y=(int)(Math.random()*16+1);
        System.out.print("+ "+y);
        System.out.println();
        System.out.println();
        System.out.println("预祝你早日中大奖！");
    }
}
